<div class="content4 content41 page" data-page="loanNotice" id="loanNotice">
	<p class="location">
		当前位置:
		<label class="locationInfo"><a href="javascript:void(0)" class="platform_main">首页</a> &nbsp;&gt;&nbsp;<a href="javascript:void(0)" class="loanNoticeList">放款列表</a>&nbsp;&gt;&nbsp;放款申请</label>
	</p>
	<p class="loan_amount_txt">
		<p class="loan_amount_txt">融资总额：<span class="financeAmount none"></span><span class="financeAmount1"></span></p>
		<p class="loan_amount_txt">本融资已放款：<span class="loan_amount none"></span><span class="loan_amount1"></span></p>
		<p class="loan_amount_txt">本融资未放款：<span class="no_Loan_amount none"></span><span class="no_Loan_amount1"></span></p>
	</p>
	<p style="margin-top: 20px;">
		<div class="line1"></div>
		<div class="loan_type">放款信息</div>
		<div class="line2"></div>
	</p>
	<div class="loanNoticeContent" action="createLoanNotice" version="v1.0">
		<input type="hidden" name="financeId" />
		<input type="hidden" name="financeNumber" />
		<div class="loan_info1">
			<p><span class="requiredInput">*</span>放款时间：
				<input class="loan_field-input Wdate FromTime" codeName="放款时间" isNUll="1"  type="text" id="loanDate" name="loanDate" placeholder="请输入时间" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true})" style="width: 190px;height: 30px;" />
				<span style="margin-left: 100px;"><span class="requiredInput">*</span>放款方式：</span>
				<select class="sel-recommend  loan_field-input" name="loanMethod" id="loanMethod">
					<option value="1">现金</option>
					<option value="2">支票</option>
					<option value="3">转账</option>
				</select>
				<span style="margin-left: 93px;"><span class="requiredInput">*</span>放款金额：</span>
				<input class="input-loan-amount" type="text" name="loanAmount" id="loanAmount" codeName="放款金额" isNUll="1" onchange="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"/>
				<span class="input-loan-amount1"></span>
			</p>
		</div>
		<div class="loan_info1">
			<span class="requiredInput">*</span>收款单位：
			<input codeName="收款单位" isNUll="1"  type="text" name="enterpriseName" placeholder="请输入收款单位" />
		</div>
		<div class="case_info">箱体情况：无</div>
<!-- 		<div class="loan_info4">
			<span style="margin-left: 15px;">放款凭证：</span>
			<input type="file" name="file" id="loanIntro" class="none" />
			<input type="hidden" name="fileUuids" class="fileUuids" />
			<label for="loanIntro" class="loanIntro" style="display: none;">添加</label>
		</div> -->
		<p style="margin-top: 30px; ">
			<div class="line5"></div>
			<div class="loan_type">选择放款箱</div>
			<div class="line6"></div>
		</p>
		<table class="loan_table" cellspacing="0px" cellpadding="0px">
			<tr class="loan_tr1">
				<th><input type="checkbox" class="inventoryIdCheckedsAll"/> 全选  序号</th>
				<th>入库单编号</th>
				<th>仓库</th>
				<th>商品</th>
				<th>融资单价</th>
				<th class="none">应放金额</th>
				<th>应放总额</th>
				<th>入库量</th>
				<th class="none">差额</th>
				<th>操作</th>
			</tr>
			<tr class="loan_tr">
				<th><input type="checkbox" class="inventoryIdCheckedsAll"/> 全选  序号</th>
				<th>箱号</th>
				<th>运单号</th>
				<th>货物</th>
				<th>融资单价</th>
				<th class="none">应放金额</th>
				<th>应放总额</th>
				<th>质押率</th>
				<th class="none">差额</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			<tbody id="bulkstockLoanNoticeListBody"></tbody>
			<script type="text/template" id="bulkstockLoanNoticeTpl1">
				{@each datas as it}
				<tr caseNumber="${it.caseNumber}" financeNumber="${it.financeNumber}" type="${it.type}" settlementPrice="${it.settlementPrice}" adjustment="${it.adjustment}" class="tr_style table-data {@if it.loanNoticeId===0}{@else}trBackgroundColor{@/if}" inventoryId="${it.inventoryId}">
					<td>{@if it.loanNoticeId===0}
						<input type="checkbox" class="inventoryId checkeds inventoryIdCheckeds" name="inventoryId" inventoryId="${it.inventoryId}" /> 
						{@else}
						<!--<input style="visibility: hidden;" type="checkbox" class="inventoryId checkeds inventoryIdCheckeds" name="inventoryId" inventoryId="${it.inventoryId}" />--> 
						{@/if}<span class="index"></span>
					</td>
					<td>
						${it.caseNumber}
					</td>
					<td>${it.warehouseName}</td>
					<td>
						{@each it.containerBulkstocks as that} ${that.bulkstockName}(${that.specification})
						<br> {@/each}
					</td>
					<td>
						{@each it.containerBulkstocks as that} 
						&#65509;<span>${formatCurrency(that.financePrice)}</span>
						<span class="bulkstockValuation none">${that.financePrice}</span>
						<br> {@/each}
					</td>
					<td class="none">
						{@each it.containerBulkstocks as that}&#65509;
						<span class="financeValuation">${that.financeValuation}</span>
						<br> {@/each}
					</td>
					<td>&#65509;<span class="financeValuations1"></span>
						<span class="financeValuations none"></span>
					</td>
					<td>
						{@each it.containerBulkstocks as that}
							${that.quantity}
						{@/each}
					</td>
					<td class="none">
						&#65509;<span class="adjustment">${it.adjustment}</span>
					</td>
					<td>
						<a href="javascript:void(0);" class="detail">详情</a>
					</td>
				</tr>
				{@/each}
			</script>
			<script type="text/template" id="bulkstockLoanNoticeTpl">
				{@each datas as it}
				<tr type="${it.type}" settlementPrice="${it.settlementPrice}" adjustment="${it.adjustment}" class="tr_style table-data {@if it.loanNoticeId===0}{@else}trBackgroundColor{@/if}" inventoryId="${it.inventoryId}">
					<td>{@if it.loanNoticeId===0}
						<input type="checkbox" class="inventoryId checkeds inventoryIdCheckeds" name="inventoryId" inventoryId="${it.inventoryId}" /> 
						{@else}
						<!--<input style="visibility: hidden;" type="checkbox" class="inventoryId checkeds inventoryIdCheckeds" name="inventoryId" inventoryId="${it.inventoryId}" />--> 
						{@/if}<span class="index"></span>
					</td>
					<td>
						${it.caseNumber}
					</td>
					<td>${it.waybillNumber}</td>
					<td>
						{@each it.containerBulkstocks as that} ${that.bulkstockName}(${that.specification})-- ${that.quantity}(${that.unit})-- ${that.weight}(吨)--${that.volume}(m³)
						<br> {@/each}
					</td>
					<td>
						{@each it.containerBulkstocks as that} 
						&#65509;<span>${formatCurrency(that.financePrice)}</span>
						<span class="bulkstockValuation none">${that.financePrice}</span>
						<br> {@/each}
					</td>
					<td class="none">
						{@each it.containerBulkstocks as that}&#65509;
						<span class="financeValuation">${that.financeValuation}</span>
						<br> {@/each}
					</td>
					<td>&#65509;<span class="financeValuations1"></span>
						<span class="financeValuations none"></span>
					</td>
					<td>
						{@each it.containerBulkstocks as that}
							${(that.financePrice*100 / that.evaluatePrice).toFixed(2)}%<br>
						{@/each}
					</td>
					<td class="none">
						&#65509;<span class="adjustment">${it.adjustment}</span>
					</td>
					<td>
						${getValueByKey(5, it.supervisionState)}
					</td>
					<td>
						<a href="javascript:void(0);" class="detail">详情</a>
					</td>
				</tr>
				{@/each}
			</script>
		</table>

		<div id="bulkstockPagenation" class="pagerCon"></div>
		<div class="line7"></div>
	</div>
	<div id="loanSubmit" class="loanNoticeSubmit">申请提交</div>

</div>